<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>
        学生信息管理平台
    </title>
    <jsp:include page="../css.jsp"></jsp:include>
</head>
<body>
<jsp:include page="../banner.jsp"></jsp:include>
<div class="page">
    <div class="box mtop">
        <div class="leftbox">
            <div class="l_nav2">
                <div class="ta1">
                    <strong>班级管理</strong>
                    <div class="leftbgbt">
                    </div>
                </div>
                <div class="cdlist">
                    <div><a href="/teacher/index.html">我的班级</a></div>
                    <div><a href="student_list.html">学生管理</a></div>
                    <div><a href="attendance_list.html">请假审批</a></div>
                    <div class="leftbgbt2">
                    </div>


                </div>
            </div>
        </div>
        <div class="rightbox">

            <h2 class="mbx">班级管理 &gt; 我的班级</h2>
            <div class="morebt">


                <ul id="ulStudMsgHeadTab">
                    <li><a class="tab1" onclick="" href="teacher_index.html">我的班级</a></li>
                    <li><a class="tab2" onclick="" href="student_list.html">学生管理</a></li>
                    <li><a class="tab2" onclick="" href="attendance_list.html">请假审批</a></li>

                </ul>

            </div>
            <div class="cztable">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <th style="text-align:center;" width="10%">班级名称</th>
                        <th style="text-align:center;" width="10%">总人数</th>
                        <th style="text-align:center;" width="10%">班级QQ群</th>
                        <th width="20%">宣传语</th>
                        <th style="text-align:center;" width="5%">操作</th>
                    </tr>
                    <c:forEach items="${requestScope.classes}" var="c">
                        <tr>
                            <th style="text-align:center;" width="10%">${c.name}</th>
                            <th style="text-align:center;" width="10%">${c.studentCount}</th>
                            <th style="text-align:center;" width="10%">${c.QQ}</th>
                            <th width="20%">${c.slogan}</th>
                            <th style="text-align:center;" width="5%">操作</th>
                        </tr>
                    </c:forEach>
                </table>
            </div>

            <div class="cztable" id="edit-table" style="display:none">


                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="15%" align="right">
                            <div align="right">班级名称：</div>
                        </td>
                        <td><input id="Ctitle" size="20" name="Ctitle" class="input_2" value="BJ-JAVA-1715B"
                                   readonly="true"/></td>
                    </tr>
                    <tr>
                        <td width="15%" align="right">
                            <div align="right">班级QQ群：</div>
                        </td>
                        <td><input id="Ctitle" size="20" name="Ctitle" class="input_2" value="705113346"/></td>
                    </tr>
                    <tr>
                        <td width="15%" align="right">
                            <div align="right">宣传语：</div>
                        </td>
                        <td><textarea name="Ccontent" cols="80" rows="5" id="Ccontent" class="input_2">学编程不敲代码？就好像不下水能学会游泳一样。</textarea>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <div align="center">
                                <input type="submit" value="提交"
                                       onclick="saveClick('7c50f70a-775b-4aef-8bf2-5010ec612c0d')" class="input2"/>
                                <input type="submit" value="返回" onclick="$('#edit-table').hide()" class="input2"/>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="cztable">
                <div style="padding:5px">
                    <form action="">
                        班级：<select class="input_2">
                        <option value="">请选择</option>
                        <option value="1">BJ-JAVA-1715B</option>
                        <option value="2">BJ-JAVA-1715A</option>
                    </select>
                        姓名：<input type="text" class="input_2"/> <input type="submit" value="查询" class="input2">
                    </form>
                </div>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <th style="text-align:center;" width="15%">班级名称</th>
                        <th style="text-align:center;" width="10%">学生姓名</th>
                        <th style="text-align:center;" width="50%">反馈问题</th>
                        <th style="text-align:center;" width="50%">反馈时间</th>
                    </tr>

                    <tr style="height: 28px" class="tdbg" align="center">
                        <td align="left">BJ-JAVA-1715B</td>
                        <td align="center">张晓明</td>
                        <td align="left">老师什么时候放假啊？</td>
                        <td align="left">2018-02-01 10:45:33</td>
                    </tr>
                    <tr style="height: 28px" class="tdbg" align="center">
                        <td align="left">BJ-JAVA-1715A</td>
                        <td align="center">张大明</td>
                        <td align="left">老师什么时候放假啊？着急</td>
                        <td align="left">2018-02-01 09:45:33</td>
                    </tr>

                </table>
                <div align="right" style="padding-right:10px">
                    当前第3页 共5页
                    <a href="">上一页</a>
                    <a href="">1</a>
                    <a href="">2</a>
                    <a href=""><span style="color:red">3</span></a>
                    <a href="">4</a>
                    <a href="">5</a>
                    <a href="">下一页</a>
                </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <p>
            &copy;copyright 2018 xx教育 csgb.net 版权所有 站长统计</p>
    </div>
</div>
</body>
</html>
